package com.china.produce.strategy.template;

import lombok.extern.slf4j.Slf4j;

/**
 * @ClassName
 * @Author niujie
 * @Version
 * @Description
 * @CreateTime 2024/12/15
 */
@Slf4j
public class TemplateClass {

    public void process(Callback callback) {
        initParam();
        callback.callbackMethod();
        release();
    }

    public void initParam(){
        log.info("start init param");
    }

    public void release(){
        log.info("release resource");
    }
}
